package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.po.Emp;
import com.itheima.domain.query.EmpQueryParam;
import com.itheima.domain.vo.PageResult;

import java.util.List;

public interface EmpService extends IService<Emp> {
    PageResult<Emp> pageResult(EmpQueryParam param);

    Boolean saveEmp(Emp emp);

    Boolean deleteEmp(List<Integer> ids);

    Emp queryEmpById(Integer id);

    Boolean updateEmp(Emp emp);
}
